home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource for Source: C/C++
/
Resource for Source - C-C++.iso
/
codelib8
/
v_10_06
/
1006032b
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-11-01
|
326 b
|
8 lines
maxn(2, 3, 5); /* returns 5, as would max(3,5) */
maxn(5, 3, 5, 7, 11, 13) /* returns 13, largest of the 5 values. */
maxn(3, 3, 5, 7, 11, 13) /* returns 7, largest of first 3 values. */
maxn(1, 17); /* also works with fewer than two values. */